package spacewar2.objects;

import spacewar2.powerups.SpacewarPowerupEnum;
import spacewar2.utilities.Position;

/**
 * This class is the super class for all spacewar objects that can take actions (right now
 * that is ships and bases).  It contains the power ups for these objects.
 * 
 * @author amy
 *
 */
abstract public class SpacewarActionableObject extends SpacewarObject {
	/**
	 * Does the item have a shield and is it using it?
	 */
	boolean isShielded, hasShield;
	
	abstract protected void applyPowerup(SpacewarPowerupEnum powerup);
	
	
	
	/**
	 * Call the super constructor on objects
	 * @param mass
	 * @param radius
	 * @param position
	 */
	public SpacewarActionableObject(int mass, int radius, Position position) {
		super(mass, radius, position);
	}

	/**
	 * Call the super constructor on objects
	 * @param mass
	 * @param radius
	 */
	public SpacewarActionableObject(int mass, int radius) {
		super(mass, radius);
	}



}
